package com.xja.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xja.mapper.ExpenseReportMapper;
import com.xja.entity.ExpenseReport;
import com.xja.service.ExpenseReportService;
@Service
public class ExpenseReportServiceImpl implements ExpenseReportService{

    @Resource
    private ExpenseReportMapper expenseReportMapper;

    @Override
    public int deleteByPrimaryKey(Integer eid) {
        return expenseReportMapper.deleteByPrimaryKey(eid);
    }

    @Override
    public int insert(ExpenseReport record) {
        return expenseReportMapper.insert(record);
    }

    @Override
    public int insertSelective(ExpenseReport record) {
        return expenseReportMapper.insertSelective(record);
    }

    @Override
    public ExpenseReport selectByPrimaryKey(Integer eid) {
        return expenseReportMapper.selectByPrimaryKey(eid);
    }

    @Override
    public int updateByPrimaryKeySelective(ExpenseReport record) {
        return expenseReportMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ExpenseReport record) {
        return expenseReportMapper.updateByPrimaryKey(record);
    }

}
